package com.bsg.upm.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 子服务关系定义实体类
 * 
 * @author HCK
 *
 */
public class DefinitionSubServRelationEntity extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 服务定义编码
	 */
	private String definitionServCode;

	/**
	 * 子服务定义名称(From)
	 */
	private String fromDefinitionSubServName;

	/**
	 * 子服务定义名称(To)
	 */
	private List<String> toDefinitionSubServNames;

	/**
	 * 获取服务定义编码
	 * 
	 * @return definitionServCode 服务定义编码
	 */
	public String getDefinitionServCode() {
		return definitionServCode;
	}

	/**
	 * 设置服务定义编码
	 * 
	 * @param definitionServCode
	 *            服务定义编码
	 */
	public void setDefinitionServCode(String definitionServCode) {
		this.definitionServCode = definitionServCode;
	}

	/**
	 * 获取子服务定义名称(From)
	 * 
	 * @return fromDefinitionSubServName 子服务定义名称(From)
	 */
	public String getFromDefinitionSubServName() {
		return fromDefinitionSubServName;
	}

	/**
	 * 设置子服务定义名称(From)
	 * 
	 * @param fromDefinitionSubServName
	 *            子服务定义名称(From)
	 */
	public void setFromDefinitionSubServName(String fromDefinitionSubServName) {
		this.fromDefinitionSubServName = fromDefinitionSubServName;
	}

	/**
	 * 获取子服务定义名称(To)
	 * 
	 * @return toDefinitionSubServNames 子服务定义名称(To)
	 */
	public List<String> getToDefinitionSubServNames() {
		return toDefinitionSubServNames;
	}

	/**
	 * 设置子服务定义名称(To)
	 * 
	 * @param toDefinitionSubServNames
	 *            子服务定义名称(To)
	 */
	public void setToDefinitionSubServNames(List<String> toDefinitionSubServNames) {
		this.toDefinitionSubServNames = toDefinitionSubServNames;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "DefinitionSubServRelationEntity [definitionServCode=" + definitionServCode
				+ ", fromDefinitionSubServName=" + fromDefinitionSubServName + ", toDefinitionSubServNames="
				+ toDefinitionSubServNames + "]";
	}

}
